<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ind_name" class="form-control" name="row[ind_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_id_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ind_id_no" class="form-control" name="row[ind_id_no]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_id_front_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ind_id_front_image" class="form-control" size="50" name="row[ind_id_front_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ind_id_front_image" class="btn btn-danger plupload" data-input-id="c-ind_id_front_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-ind_id_front_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ind_id_front_image" class="btn btn-primary fachoose" data-input-id="c-ind_id_front_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ind_id_front_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ind_id_front_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_id_rear_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ind_id_rear_image" class="form-control" size="50" name="row[ind_id_rear_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ind_id_rear_image" class="btn btn-danger plupload" data-input-id="c-ind_id_rear_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-ind_id_rear_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ind_id_rear_image" class="btn btn-primary fachoose" data-input-id="c-ind_id_rear_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ind_id_rear_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ind_id_rear_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ind_tel" class="form-control" name="row[ind_tel]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Biz_license_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-biz_license_image" class="form-control" size="50" name="row[biz_license_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-biz_license_image" class="btn btn-danger plupload" data-input-id="c-biz_license_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-biz_license_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-biz_license_image" class="btn btn-primary fachoose" data-input-id="c-biz_license_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-biz_license_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-biz_license_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_bank_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ind_bank_account" class="form-control" name="row[ind_bank_account]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ind_bank_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ind_bank_tel" class="form-control" name="row[ind_bank_tel]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Biz_category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-biz_category" class="form-control" name="row[biz_category]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Manager_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-manager_name" class="form-control" name="row[manager_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Manager_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-manager_tel" class="form-control" name="row[manager_tel]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Manager_id_front_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-manager_id_front_image" class="form-control" size="50" name="row[manager_id_front_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-manager_id_front_image" class="btn btn-danger plupload" data-input-id="c-manager_id_front_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-manager_id_front_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-manager_id_front_image" class="btn btn-primary fachoose" data-input-id="c-manager_id_front_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-manager_id_front_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-manager_id_front_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Manager_id_rear_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-manager_id_rear_image" class="form-control" size="50" name="row[manager_id_rear_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-manager_id_rear_image" class="btn btn-danger plupload" data-input-id="c-manager_id_rear_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-manager_id_rear_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-manager_id_rear_image" class="btn btn-primary fachoose" data-input-id="c-manager_id_rear_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-manager_id_rear_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-manager_id_rear_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-tm_type" data-rule="required" class="form-control selectpicker" name="row[tm_type]">
                {foreach name="tmTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_reg_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tm_reg_no" class="form-control" name="row[tm_reg_no]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_reg_cert_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-tm_reg_cert_image" class="form-control" size="50" name="row[tm_reg_cert_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-tm_reg_cert_image" class="btn btn-danger plupload" data-input-id="c-tm_reg_cert_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tm_reg_cert_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-tm_reg_cert_image" class="btn btn-primary fachoose" data-input-id="c-tm_reg_cert_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-tm_reg_cert_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-tm_reg_cert_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_reg_valid_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tm_reg_valid_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[tm_reg_valid_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_auth_cert_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-tm_auth_cert_image" class="form-control" size="50" name="row[tm_auth_cert_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-tm_auth_cert_image" class="btn btn-danger plupload" data-input-id="c-tm_auth_cert_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tm_auth_cert_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-tm_auth_cert_image" class="btn btn-primary fachoose" data-input-id="c-tm_auth_cert_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-tm_auth_cert_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-tm_auth_cert_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tm_auth_valid_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tm_auth_valid_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[tm_auth_valid_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_name" class="form-control" name="row[ent_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_addr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_addr" class="form-control" name="row[ent_addr]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_repr_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_repr_name" class="form-control" name="row[ent_repr_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_repr_id_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_repr_id_no" class="form-control" name="row[ent_repr_id_no]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_repr_id_front_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ent_repr_id_front_image" class="form-control" size="50" name="row[ent_repr_id_front_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ent_repr_id_front_image" class="btn btn-danger plupload" data-input-id="c-ent_repr_id_front_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-ent_repr_id_front_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ent_repr_id_front_image" class="btn btn-primary fachoose" data-input-id="c-ent_repr_id_front_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ent_repr_id_front_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ent_repr_id_front_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_repr_id_rear_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ent_repr_id_rear_image" class="form-control" size="50" name="row[ent_repr_id_rear_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ent_repr_id_rear_image" class="btn btn-danger plupload" data-input-id="c-ent_repr_id_rear_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-ent_repr_id_rear_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ent_repr_id_rear_image" class="btn btn-primary fachoose" data-input-id="c-ent_repr_id_rear_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ent_repr_id_rear_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ent_repr_id_rear_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_repr_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_repr_tel" class="form-control" name="row[ent_repr_tel]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_company_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_company_code" class="form-control" name="row[ent_company_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_bank_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ent_bank_account" class="form-control" name="row[ent_bank_account]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ent_bank_permits_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-ent_bank_permits_image" class="form-control" size="50" name="row[ent_bank_permits_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-ent_bank_permits_image" class="btn btn-danger plupload" data-input-id="c-ent_bank_permits_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-ent_bank_permits_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-ent_bank_permits_image" class="btn btn-primary fachoose" data-input-id="c-ent_bank_permits_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-ent_bank_permits_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-ent_bank_permits_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
